package com.jomoo.common.ajax.dao;

import java.util.Date;
import java.util.List;

public interface JqueryDao {

	/**
	 * 获取所有产品分类
	 * 
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("rawtypes")
	List getProducts(Integer iCustomerId) throws Exception;

	/**
	 * 获取所有产品分类规格
	 * 
	 * @param iProId
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("rawtypes")
	List getProductSpec(Integer iProId) throws Exception;

	/**
	 * 获取所有一级城市(地址调用)
	 * 
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("rawtypes")
	List getFirstCity() throws Exception;

	/**
	 * 获取所有二级城市(地址调用)
	 * 
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("rawtypes")
	List getSecondCity(Integer iSecCityid) throws Exception;
	
	/**
	 * 获取所有客户
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("rawtypes")
	List getCustomers() throws Exception;
	
	/**
	 * 获取所有安装类型
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("rawtypes")
	List getSetupType() throws Exception;
	
	/**
	 * 获取所有状态详情
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("rawtypes")
	List getAllStates(String strStateName, String strAllFlag) throws Exception;
	
	/**
	 * 根据不同标识查询不同情况数量用于页面显示
	 * @param strFlag
	 * @param date
	 * @return
	 * @throws Exception
	 */
	Integer getScount(String strFlag, Date strStartDate, Date strEndDate) throws Exception;
	
	/**
	 * 页面点击条数查询详情
	 * @param iFlag
	 * @param strDate
	 * @return
	 * @throws Exception
	 */
	@SuppressWarnings("rawtypes")
	List getScountViews(Integer iFlag, Date strStartDate, Date strEndDate) throws Exception;
	
	/**
	 * 获取条数决定显示通知内容
	 * @param strStartDate
	 * @param strEndDate
	 * @return
	 * @throws Exception
	 */
	Integer getWaitCountForShow(Date strStartDate, Date strEndDate) throws Exception;
	
	/**
	 * 获取条数决定显示通知内容
	 * @param strStartDate
	 * @param strEndDate
	 * @return
	 * @throws Exception
	 */
	Integer getFixCountForShow(Date strStartDate, Date strEndDate) throws Exception;
}
